<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>User Home Page</title>
</head>
<body>
<h3> Hello  <s:property value="username"/>, Welcome to workflow portal </h3>
<%-- <table>
<tr>
<s:submit name = "newRequest" id="mysubmit" value="Raise New LTA Request" align="left" />
</tr>
<tr>
<s:submit name = "History" id="mysubmit" value="View Requests submitted" align="left" />
</tr></table> --%>
<ul>
<s:if test="%{role=='user'}">
<table id="text" align="center">
<tr><td>
<a href="newRequest">Raise New LTA Request</a><br>
</td></tr>
<tr><td>
<a href="History">View Requests Submitted</a></td>
</tr>
</table>
</s:if>
<s:if test="%{role=='vefication_dpt'}">
<table id="text" align="center">
<tr><td>
<a href="verifyQueue">Requests in queue</a><br>
</td></tr>
<tr><td>
<a href="verifyHistory">Previous verified history</a>
</td></tr>
</table>
</s:if>
<s:if test="%{role=='finance_dpt'}">
<table id="text" align="center">
<tr><td>
<a href="financeQueue">Financial Requests in queue</a><br>
</td></tr>
<tr><td>
<a href="financeHistory">Previous Approved history</a>
</td></tr>
</table>
</s:if>

</ul>
<br><br><center>
<s:form action="logout" align="center">
<s:submit name = "submit" value="Logout"/>
</s:form>
</center>
</body>
</html>